<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<title><?php echo $this->_var['siteinfo']['title']; ?>-<?php echo $this->_var['city']; ?>分站</title>
<link rel="alternate" title="订阅更新" type="application/rss+xml" />
<link rel="stylesheet" href="<?php echo $this->_var['siteinfo']['tempath']; ?>inc/meituan.css"
	type="text/css" media="screen" charset="utf-8" />

<script src="<?php echo $this->_var['siteinfo']['tempath']; ?>inc/js/jquery.js" type="text/javascript"></script>

<meta name="description" content="<?php echo $this->_var['city']; ?>分站-<?php echo $this->_var['siteinfo']['discretion']; ?>" />
<meta name="keywords" content="<?php echo $this->_var['city']; ?>分站-<?php echo $this->_var['siteinfo']['keywords']; ?>" />
</head>
<body class="bg-alt bg-newbie">
<div id="hdw">
<div id="hd"><?php echo $this->fetch('head.htm'); ?></div>
</div>
<div id="bdw" class="bdw">
<DIV class=cf id=bd>


<DIV id=coupons>
<DIV class=coupons-box id=content>
<?php echo $this->fetch('uc_menu.htm'); ?>

<DIV class="box clear">
<DIV class=box-top></DIV>
<DIV class=box-content>
<DIV class=head>
<H2>我的订单</H2>
<UL class=filter>
  <LI class=label>分类: </LI>
<!-- <?php if ($_GET['pay'] == ''): ?> -->   <LI class="current" ><!--<?php else: ?>--><li><!-- <?php endif; ?> --><A href="?action=orders">全部</A></LI>
<!-- <?php if ($_GET['pay'] == 'N'): ?> -->   <LI class="current" ><!--<?php else: ?>--><li><!-- <?php endif; ?> --><A href="?action=orders&pay=N">未付款</A></LI>
<!-- <?php if ($_GET['pay'] == 'Y'): ?> -->   <LI class="current" ><!--<?php else: ?>--><li><!-- <?php endif; ?> --><A href="?action=orders&pay=Y">已付款</A></LI></UL></DIV>
<DIV class=sect>
<TABLE class=coupons-table id=order-list cellSpacing=0 cellPadding=0 border=0>
  <TBODY>
  <!--  <?php if ($this->_var['orderlist']): ?> -->
  <TR>
    <TH width=auto>团购项目</TH>
    <TH width=30>数量</TH>
    <TH width=80>总价</TH>
    <TH width=80>订单状态</TH>
    <TH width=80>操作</TH></TR>
    
 <!-- <?php $_from = $this->_var['orderlist']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'item');$this->_foreach['orderlist'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['orderlist']['total'] > 0):
    foreach ($_from AS $this->_var['item']):
        $this->_foreach['orderlist']['iteration']++;
?> -->
  <TR class=alt>
    <TD class=deal width=auto>
      <TABLE class=deal-info>
        <TBODY>
        <TR>
          <TD class=pic><A title=<?php echo $this->_var['item']['name']; ?> 
            href="show.php?id=<?php echo $this->_var['item']['bid']; ?>" 
            target=_blank><IMG height=46 src="../../admin/do/ajax/<?php echo $this->_var['item']['smallimg']; ?>" 
            width=75></A></TD>
          <TD class=text><A class=deal-title title="<?php echo $this->_var['item']['name']; ?>" 
            href="show.php?id=<?php echo $this->_var['item']['bid']; ?>" 
            target=_blank><?php echo $this->_var['item']['name']; ?></A></TD>
            </TR></TBODY></TABLE>   
     </TD>
    <TD width=30><?php echo $this->_var['item']['num']; ?></TD>
    <TD width=80><SPAN class=money>¥</SPAN><?php echo $this->_var['item']['price']; ?></TD>
    <TD width=80><!-- <?php if ($this->_var['item']['isok'] == 'N'): ?> --><SPAN class=unpay>未付款</SPAN><!-- <?php else: ?> -->已付款<!-- <?php endif; ?> --></TD>
    <TD class=op width=80>
    <!-- <?php if ($this->_var['item']['del'] == 'N'): ?> -->
    <!-- <?php if ($this->_var['item']['isok'] == 'N'): ?> -->
    <A href="?action=editbuy&edtid=<?php echo $this->_var['item']['id']; ?>">付款</A> 
    <A class=order-cancel href="?action=unorder&id=<?php echo $this->_var['item']['id']; ?>">取消</A>
    <!-- <?php else: ?> -->
     <A href="?action=coupons&certid=<?php echo $this->_var['item']['id']; ?>">查看团购券</A> 
    <!-- <?php endif; ?> -->
    <!-- <?php else: ?> -->
   <SPAN class=unpay> 订单已取消</SPAN>
    <!-- <?php endif; ?> -->
    </TD>
    </TR>
    <!-- <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?> -->
    
    <!-- <?php else: ?> -->
    <tr>
    <td>暂无订单记录</td>
    </tr>
    <!-- <?php endif; ?> -->
    </TBODY></TABLE></DIV></DIV>
<DIV class=box-bottom></DIV></DIV></DIV>
<DIV id=sidebar>
<DIV class="sbox side-help">
<DIV class=sbox>
<DIV class=sbox-top></DIV>
<DIV class=sbox-content>
<DIV class=side-tip>
<H3 class=first>我已支付成功，为什么没有团购券？</H3>
<P>因为还没有到达最低团购人数，一旦凑够人数，您就会看到团购券了。</P>
<H3>什么是已过期订单？</H3>
<P>如果某个订单未及时付款，那么等团购结束时就无法再付款了，这种订单就是过期订单。</P>
<H3>哪种订单可以评价？</H3>
<UL>
  <LI>只有已消费过的订单才可以评价，评价可获赠积分！ </LI>
  <LI>如果团购项目为优惠码，支付成功即可评价（建议消费后再评价）。 </LI></UL></DIV></DIV>
<DIV class=sbox-bottom></DIV></DIV></DIV></DIV></DIV>
<!-- bd end --></DIV></div>
<!-- bdw end -->
<?php echo $this->fetch('foot.htm'); ?>
<!-- doc end -->

</body>
</html>
